#ifndef BASICCARD_H
#define BASICCARD_H

#include "Picture.h"

#define MaxLit 12
#define MaxYor 13
#define MaxCha 14
#define MaxGit 15
#define MaxKry 16

class CBasicCard
{
public:
	CCardSet Pics;

	CPicture PicsLit[MaxLit];
	CPicture PicsYor[MaxYor];
	CPicture PicsCha[MaxCha];
	CPicture PicsGit[MaxGit];
	CPicture PicsKry[MaxKry];

	CBasicCard() 
	{
		int i;
		for (i = 0; i < MaxLit; i ++)
		{
			PicsLit[i] = CPicture(CPicture::AucDouble, CPicture::TypeLiteMetal);
			Pics.push_back(&PicsLit[i]);
		}
		for (i = 0; i < MaxYor - 2; i ++)
		{
			PicsYor[i] = CPicture(CPicture::AucFixed, CPicture::TypeYori);
			Pics.push_back(&PicsYor[i]);
		}
		PicsYor[MaxYor - 2] = CPicture(CPicture::AucDouble, CPicture::TypeYori);
		Pics.push_back(&PicsYor[MaxYor - 2]);
		PicsYor[MaxYor - 1] = CPicture(CPicture::AucDouble, CPicture::TypeYori);
		Pics.push_back(&PicsYor[MaxYor - 1]);

		for (i = 0; i < MaxCha - 2; i ++)
		{
			PicsCha[i] = CPicture(CPicture::AucOpen, CPicture::TypeChan);
			Pics.push_back(&PicsCha[i]);
		}
		PicsCha[MaxCha - 2] = CPicture(CPicture::AucDouble, CPicture::TypeChan);
		Pics.push_back(&PicsCha[MaxCha - 2]);
		PicsCha[MaxCha - 1] = CPicture(CPicture::AucDouble, CPicture::TypeChan);
		Pics.push_back(&PicsCha[MaxCha - 1]);

		for (i = 0; i < MaxGit - 2; i ++)
		{
			PicsGit[i] = CPicture(CPicture::AucRound, CPicture::TypeGit);
			Pics.push_back(&PicsGit[i]);
		}
		PicsGit[MaxGit - 2] = CPicture(CPicture::AucDouble, CPicture::TypeGit);
		Pics.push_back(&PicsGit[MaxGit - 2]);
		PicsGit[MaxGit - 1] = CPicture(CPicture::AucDouble, CPicture::TypeGit);
		Pics.push_back(&PicsGit[MaxGit - 1]);

		for (i = 0; i < MaxKry - 2; i ++)
		{
			PicsKry[i] = CPicture(CPicture::AucSecret, CPicture::TypeKrypto);
			Pics.push_back(&PicsKry[i]);
		}
		PicsKry[MaxKry - 2] = CPicture(CPicture::AucDouble, CPicture::TypeKrypto);
		Pics.push_back(&PicsKry[MaxKry - 2]);
		PicsKry[MaxKry - 1] = CPicture(CPicture::AucDouble, CPicture::TypeKrypto);
		Pics.push_back(&PicsKry[MaxKry - 1]);

		Pics.AssignIndex();
	}
};














#endif